import { defineStore } from "pinia";

export const useSwitchStore = defineStore({
  id: "switch",
  state: () => ({
    switchValue: true,
    assValue: true,
  }),
  actions: {
    setSwitch(switchValue: boolean) {
      this.switchValue = switchValue;
    },
    setAssSwitch(value: boolean) {
      this.assValue = value;
    },
  },
});
